package cn.itcast.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/*
* 通过@ConfigurationProperties(prefix = "pattern")来将所有
* */
@Data
@Component
@ConfigurationProperties(prefix = "pattern")
public class PatternProerties {
    private String dateformate;
    private String name;
}
